package com.youxuit.youxu.kecheng.threadLocal.usage2;

public class OrderSimpleManage {

    public void process(User user) {

        System.out.println("manage层获取到的姓名"+user.getName());

        new OrderSimpleService().process(user );
    }
    public void process2() {
        User user = UserContextHolder.userHolder.get();
        System.out.println("manage层获取到的姓名"+user.getName());

        new OrderSimpleService().process2();
    }

}
